package com.jh.storageview;

import android.widget.TextView;

public class StorageHelper {

    StorageView storageView;
    StorageFragment storageFragment;

    public StorageHelper() {
    }

    public StorageHelper(StorageView mStorageView, StorageFragment storageFragment) {
        this.storageView = mStorageView;
        this.storageFragment = storageFragment;
    }

    public void updateData(StorageBean bean){
        storageView.updateData(bean);
    }

    public void setSysGTitle(String title){
        storageFragment.setSysGTitle(title);
    }
    public void setSysDTitle(String title){
        storageFragment.setSysDTitle(title);
    }
    public void setDocTitle(String title){
        storageFragment.setDocTitle(title);
    }
    public void setPkgTitle(String title){
        storageFragment.setPkgTitle(title);
    }
    public void setVideoTitle(String title){
        storageFragment.setVideoTitle(title);
    }
    public void setSoundTitle(String title){
        storageFragment.setSoundTitle(title);
    }
    public void setImgTitle(String title){
        storageFragment.setImgTitle(title);
    }
    public void setAppTitle(String title){
        storageFragment.setAppTitle(title);
    }

    public void setSysGSummary(String summary){
        storageFragment.setSysGSummary(summary);
    }
    public void setSysDSummary(String summary){
        storageFragment.setSysDSummary(summary);
    }
    public void setDocSummary(String summary){
        storageFragment.setDocSummary(summary);
    }
    public void setPkgSummary(String summary){
        storageFragment.setPkgSummary(summary);
    }
    public void setVideoSummary(String summary){
        storageFragment.setVideoSummary(summary);
    }
    public void setSoundSummary(String summary){
        storageFragment.setSoundSummary(summary);
    }
    public void setImgSummary(String summary){
        storageFragment.setImgSummary(summary);
    }
    public void setAppSummary(String summary){
        storageFragment.setAppSummary(summary);
    }

}
